package dict;

import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

public class MbDict {
	
	//错误类型
	public static final Map<String, String> MESSAGES = Collections.synchronizedMap(new HashMap<String, String>());
	
	public final static String MB_SUCCESS= "0000";
	public final static String MB_FAILURE= "9999";
	
	public final static String MB_NOT_EXIST= "MB01";
	public final static String MB_FETCH_EXCEPTION= "MB02";
	public final static String MB_STATUS_EXCEPTION= "MB03";
	public final static String MB_PERSIST_EXCEPTION= "MB04";
	public final static String MB_PROCESS_EXCEPTION= "MB05";
	public final static String MB_ALREADY_EXIST= "MB06";
	public final static String MB_REMOVE_EXCEPTION= "MB07";
	public final static String MB_CSTATUS_EXCEPTION= "MB08";
	

	static {
		MESSAGES.put(MB_SUCCESS, "Successful");
		MESSAGES.put(MB_FAILURE, "Failure");
		
		MESSAGES.put(MB_NOT_EXIST, "mb not exist");
		MESSAGES.put(MB_FETCH_EXCEPTION, "mb fetch exception");
		MESSAGES.put(MB_STATUS_EXCEPTION, "mb status exception");
		MESSAGES.put(MB_PERSIST_EXCEPTION, "mb persist exception");
		MESSAGES.put(MB_PROCESS_EXCEPTION, "mb process exception");
		MESSAGES.put(MB_ALREADY_EXIST, "mb already exist");
		MESSAGES.put(MB_REMOVE_EXCEPTION, "mb remove exception");
		MESSAGES.put(MB_CSTATUS_EXCEPTION, "mb audit status exception");
	}


}
